package com.sw.c.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 系统环境变量
 *
 * @author kingtiger
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "zh.param")
public class SystemParams {

    /**
     * redis前缀
     */
    private String redisPrefix;

    /**
     * redis过期时间
     */
    private Long redisTime;

    /**
     * 路径白名单
     */
    private List<String> whiteListPaths;


}
